package com.gusto.engine.evaluation;

public class RealEvaluation {
	
	private long user;
	private long item;
	private double evaluation;
	
	public RealEvaluation() {
		super();
	} 
	
	public RealEvaluation(long user, long item, double evaluation) {
		this.user = user;
		this.item = item;
		this.evaluation = evaluation;
	}
	
	public String toString() {
		return "RealEvaluation " + user + "-" + item + " : " + evaluation;
	}
	
	public long getUser() {
		return user;
	}

	public void setUser(long user) {
		this.user = user;
	}

	public long getItem() {
		return item;
	}

	public void setItem(long item) {
		this.item = item;
	}

	public double getEvaluation() {
		return evaluation;
	}

	public void setEvaluation(double evaluation) {
		this.evaluation = evaluation;
	}
	
	public RealEvaluation clown() {
		RealEvaluation clown = new RealEvaluation();
		clown.setUser(this.user);
		clown.setItem(this.item);
		clown.setEvaluation(this.evaluation);
		return clown;
	}
}
